package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author Hayson
 * @since 2021/7/5 23:44
 */
@Data
@Accessors(chain = true)
@TableName(value = "t_member_album")
public class TMemberAlbum {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "m_id")
    private Long mId;

    @TableField(value = "url")
    private String url;

    /**
     * 0展示 1详情
     */
    @TableField(value = "`type`")
    private Integer type;

    @TableField(value = "`status`")
    private Integer status;

    @TableField(value = "order_num")
    private Integer orderNum;

    @TableField(value = "add_time")
    private LocalDateTime addTime;
}